import { Provider } from 'react-redux'; // Provider 可以将store供应给被其包裹的内容
import ViewRouter from './router/index' // 封装好的路由
import './App.css';
import store from './store';
import BottomNav from './components/BottomNav';

function App() {
  return (
    <Provider store={store}>
      <div className="App">
        <div className='content'>
          <ViewRouter />
        </div>
        <div>
          <BottomNav></BottomNav>
        </div>
      </div>
    </Provider>
  );
}

export default App;
